<?php
namespace Home\Controller;
use Think\Controller;
class CommonController extends Controller {
    public function _initialize(){
        if (!C('website')) {
            C('website',M('basic_config')->find(1));
        }
    }
}
